﻿<UserControl xmlns:ParseControls="clr-namespace:ParseControls;assembly=ParseControls"  x:Class="ParseOnlineAdmin.TheAccountView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" AllowDrop="True"
             Background="#555" mc:Ignorable="d" d:DesignHeight="250" d:DesignWidth="500">
    <Grid Margin="15,12,15,3">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        
        <Image Width="60" Height="90" Margin="5"
            Grid.Column="0" Grid.RowSpan="4" VerticalAlignment="Top" />

        <TextBlock Text="Name" Foreground="#fff" FontWeight="Bold" VerticalAlignment="Center"  Margin="3" Grid.Column="1" Grid.Row="0" />
        <ParseControls:FwTextBox x:Name="txtUserName" Margin="3" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="0" />

        <TextBlock Text="Mail"  Foreground="#fff" FontWeight="Bold" VerticalAlignment="Center" Margin="3" Grid.Column="1" Grid.Row="1" />
        <ParseControls:FwTextBox  x:Name="txtMail" Margin="3" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="1" />

        <TextBlock Text="Image"  Foreground="#fff" FontWeight="Bold" VerticalAlignment="Center" Margin="3" Grid.Column="1" Grid.Row="2" />
        <ParseControls:FwTextBox  x:Name="txtImageUrl" Margin="3" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="2" />

        <TextBlock Text="Background"  Foreground="#fff" FontWeight="Bold" VerticalAlignment="Center" Margin="3" Grid.Column="1" Grid.Row="3" />
        <ParseControls:FwTextBox  x:Name="txtBackgroundImageUrl" Margin="3" 
                                  Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="3" />
        
        <ParseControls:FwButton x:Name="btnOK" Click="btnOK_Click" Content="OK" Margin="3" Grid.Column="3" Grid.Row="4"  />
        <ParseControls:FwButton x:Name="btnCancel" Click="btnCancel_Click" Content="abbrechen" Margin="3" Grid.Column="2" Grid.Row="4"  />

    </Grid>
</UserControl>
